export interface ILogin {
  user_name: string,
  user_pwd: string
}
export interface IQuestionType {
  questions_type_id: string,
  questions_type_text: string,
  questions_type_sort: number
}

export interface ISubject {
  subject_id: string,
  subject_text: string
}

export interface IExamType {
  exam_id: string,
  exam_name: string
}
export interface IQuestionForm {
  questions_type_id: string,
  questions_stem: string,
  subject_id: string,
  exam_id: string,
  user_id: string,
  questions_answer: string,
  title: string,
}
export interface IUpdataExam {
  questions_type_id: string,
  questions_stem: string,
  subject_id: string,
  exam_id: string,
  questions_answer: string,
  title: string,
  questions_id:string,
}


export interface IAddTyoes {
  text: string,
  sort: number
}

export interface IExamQuestions {
  questions_id: string,
  json_path: string,
  subject_text: string,
  exam_name: string,
  user_name: string,
  questions_type_text: string,
  questions_stem: string,
  questions_answer: string,
  title: string,
}

export interface ICondition {
  questions_type_id: string,
  subject_id: string,
  exam_id: string
}

interface IMenuItem{
  path: string,
  name: string,
  meta: {
    title: string,
    show: boolean,
    view_id: string
  }
}
export interface IMenu{
  name: string,
  meta: {
    icon: any,
    title: string,
    show: boolean
  },
  children?: IMenuItem[]
}


//用户
export interface IAdduser{
  user_name:string,
  user_pwd:string,
  identity_id?:string
}
export interface IAddUser{
  user_name:string,
  user_pwd:string,
  identity_id?:string,
}
//更新用户
export interface IUpDataUser{
  user_id: string,
  user_name: string,
  user_pwd: string,
  identity_id: string,
}
//添加API接口权限
export interface IAuthorityApi{
  api_authority_text: string,
  api_authority_url: string,
  api_authority_method: string,
}

export interface IUserName{
  identity_text: string,
  user_id: string,
  user_name: string,
  user_pwd: string,
  }
  
  export interface IIdentity{
    identity_id: string,
    identity_text: string
  }
  export interface IAuthority{
    api_authority_id: string,
    api_authority_text: string,
    api_authority_url: string,
    api_authority_method: string
  }
  
  export interface IRelation{
    identity_api_authority_relation_id:string,
    identity_text: string,
    api_authority_text: string,
    api_authority_url: string,
    api_authority_method: string
  }
  
  export interface IMyAuthority{
    view_authority_id: string,
    view_authority_text: string,
    view_id: string,
  }
  
  export interface IIdentityView{
    identity_text: string,
    identity_view_authority_relation_id:string,
    view_authority_text: string,
    view_id: string,
  }
  export interface IAddUser{
    user_name:string,
    user_pwd:string,
    identity_id?:string,
  }
  
  export interface IUserName{
  identity_text: string,
  user_id: string,
  user_name: string,
  user_pwd: string,
  }
  
  export interface IIdentity{
    identity_id: string,
    identity_text: string
  }
  export interface IAuthority{
    api_authority_id: string,
    api_authority_text: string,
    api_authority_url: string,
    api_authority_method: string
  }
  
  export interface IRelation{
    identity_api_authority_relation_id:string,
    identity_text: string,
    api_authority_text: string,
    api_authority_url: string,
    api_authority_method: string
  }
  
  export interface IMyAuthority{
    view_authority_id: string,
    view_authority_text: string,
    view_id: string,
  }
  
  export interface IIdentityView{
    identity_text: string,
    identity_view_authority_relation_id:string,
    view_authority_text: string,
    view_id: string,
  }
  
